/**
 * Created by caojun on 2016/11/28.
 */
define(['jquery','typed','appointment'],function($,typed,Appointment){
    var appointmentCenter = {};
    appointmentCenter.init = function(){

        //打字效果
        $(".typedH2").typed({
            strings: ["不随大众，我们服务于高要求 , 高品质的客户 !","不断追求创新，只为政务服务！"],
            typeSpeed: 100,
            backDelay: 500,
            loop: true,
        });
        //预约时间
        $(".myAppoint-date-box td").click(function(){
            $(".myAppoint-date-box td").removeClass("active");
            $(this).addClass("active").siblings().removeClass("active");
        });
    }
    return appointmentCenter;
})